package com.project.service.impl;

import com.project.bean.ProgressBean;
import com.project.mapper.IProgressMapper;
import com.project.service.IProgressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ProgressServiceImpl implements IProgressService {
    @Autowired
    private IProgressMapper mapper;

    @Override
    public void finishPrj(Integer prgId) {
        mapper.finishPrj(prgId);
    }

    @Override
    public void addEmployee(ProgressBean progress) {
        mapper.addEmployee(progress);
    }

    @Override
    public void deliver(Integer prjId) {
        mapper.deliver(prjId);
    }
}
